package 线程.day4.demo2;

public class S2 {
    private static S2 instance;
	private S2(){
		
	}
	
	public static S2 getInstance(){
		if(instance==null){
			instance=new S2();
		}
		return instance;
	}
}